package com.jinmdz.fmis.api.rec.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.base.BaseBean;

/**
 * @author zhanglr
 * @date 2020/6/10 17:01
 */
public class DispatchCarReqData extends BaseBean {
    /**
     * 调度主键
     */
    private Integer id;

    /**
     * 接运信息外键
     */
    private Integer recId;
    /**
     * 车辆外键
     */
    private Integer recCarId;
    /**
     * 车辆牌号
     */
    private String recCarNo;
    /**
     * 调度人姓名
     */
    private String dispatchUserName;
    /**
     * 调度人编号
     */
    private String dispatchUserId;
    /**
     * 出车时间，格式：yyyy-MM-hh HH:mm
     */
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private String dispatchOutTime;
    /**
     * 回车时间，格式：yyyy-MM-hh HH:mm
     */
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private String dispatchBackTime;
    /**
     * 调度车辆数据版本号
     */
    private Long version;
    /**
     * 殡仪馆代码
     */
    private String funeralParlourCode;

    public Integer getId() {
        return id;
    }

    public DispatchCarReqData setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getRecId() {
        return recId;
    }

    public DispatchCarReqData setRecId(Integer recId) {
        this.recId = recId;
        return this;
    }

    public Integer getRecCarId() {
        return recCarId;
    }

    public DispatchCarReqData setRecCarId(Integer recCarId) {
        this.recCarId = recCarId;
        return this;
    }

    public String getRecCarNo() {
        return recCarNo;
    }

    public DispatchCarReqData setRecCarNo(String recCarNo) {
        this.recCarNo = recCarNo;
        return this;
    }

    public String getDispatchUserName() {
        return dispatchUserName;
    }

    public DispatchCarReqData setDispatchUserName(String dispatchUserName) {
        this.dispatchUserName = dispatchUserName;
        return this;
    }

    public String getDispatchUserId() {
        return dispatchUserId;
    }

    public DispatchCarReqData setDispatchUserId(String dispatchUserId) {
        this.dispatchUserId = dispatchUserId;
        return this;
    }

    public String getDispatchOutTime() {
        return dispatchOutTime;
    }

    public DispatchCarReqData setDispatchOutTime(String dispatchOutTime) {
        this.dispatchOutTime = dispatchOutTime;
        return this;
    }

    public String getDispatchBackTime() {
        return dispatchBackTime;
    }

    public DispatchCarReqData setDispatchBackTime(String dispatchBackTime) {
        this.dispatchBackTime = dispatchBackTime;
        return this;
    }

    public Long getVersion() {
        return version;
    }

    public DispatchCarReqData setVersion(Long version) {
        this.version = version;
        return this;
    }

    public String getFuneralParlourCode() {
        return funeralParlourCode;
    }

    public DispatchCarReqData setFuneralParlourCode(String funeralParlourCode) {
        this.funeralParlourCode = funeralParlourCode;
        return this;
    }
}
